package com.cynteka.cyfoman.ui;

import javax.swing.*;


public class MainTest {
    private static MainForm mainForm;


    /**
     * @param args
     */
    public static void main(String[] args) {
        createAndShowGUI();
    }

    protected static void createAndShowGUI() {

        //Create and set up the window.


        JFrame frame = new JFrame("Управление файлами и папками");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        JPanel panel = new JPanel();
        frame.setContentPane(panel);

        DataModel tableModel = new DataModel();
        JTable table = new JTable(tableModel);
        table.getTableHeader().setVisible(true);
        panel.add(new JScrollPane(table));

        //Display the window.
        frame.setSize(800, 600);
        frame.setVisible(true);
    }


}